-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support AMD and CommonJS out of the box #537
Support AMD and CommonJS out of the box #537
Conversation
This is something that we will likely do in the 1.1 timeframe. I'm a bit hesitant to release this for the first time in the 1.0 final release. |
Support AMD and CommonJS out of the box
Thanks @kpdecker! Would it be possible to publish a |
I hope to have a 1.1.0-alpha.01 by the end of the weekend. This should also On Fri, May 31, 2013 at 4:11 PM, Spike Brehm [email protected]:
|
Any news on a 1.1.0-alpha.01, or even a 1.0.13? Thanks! |
ping |
@spikebrehm I've been holding off on a formal release of the current CommonJS code (it is available in master) as I'm waiting to see where @wycats work noted above goes. They both solve the same problem but in very different ways. Basically I'd like to avoid flip flopping on the recommended behavior even if it's done in a alpha release. |
Got it, thanks for the response. In the meantime, I'm just working off a On Sun, Jul 14, 2013 at 1:32 PM, Kevin Decker [email protected]:
Spike Brehm San Francisco, CA, USA |
I'm back from Australia and now that ES6 Module Transpiler is up to date I should be able to make some progress on mornings this week. |
Released in 1.1.0 |
Yay! Thanks @kpdecker 🍻 |
This add support for both AMD and CommonJS, falling back to typical browser behavior. This is very similar to #501, but a bit cleaner. This also obviates #500 and #509.
It would be awesome to support these module loaders out of the box, preventing developers from using forks to support their projects (as I have had to do). Browserify does enable the use of Handlebars + CommonJS in the client side, but only with a fancy AST-walk in a build step; it makes sense to allow CommonJS without a fancy build step.
Specs are passing: